using ZR.Model;
using ZR.Model.System;
using ZR.Model.System.Dto;

namespace ZR.ServiceCore.Services.IService
{
    /// <summary>
    /// 报警列表服务接口
    /// </summary>
    public interface IAlarmListService
    {
        /// <summary>
        /// 获取报警列表
        /// </summary>
        PagedInfo<AlarmList> GetAlarmList(AlarmListQueryDto query, PagerInfo pager);

        /// <summary>
        /// 新增报警类型
        /// </summary>
        int AddAlarm(AlarmList alarm);

        /// <summary>
        /// 删除报警类型
        /// </summary>
        int DeleteAlarms(IEnumerable<int> ids);
    }
}

